package com.ifudata.dataexpert.constants;

import java.util.HashMap;
import java.util.Map;

import com.ifudata.dvp.sdk.common.BaseConstants;

public class SmsConstants extends BaseConstants {

	public static class ResCode {
		/** 成功 */
		public static final int CODE_200 = 200;
		/** 失败 */
		public static final int CODE_400 = 400;
		/** 没有权限 */
		public static final int CODE_401 = 401;
		/** 系统异常 */
		public static final int CODE_500 = 500;
		/** token认证失败！ */
		public static final int CODE_501 = 501;
	}
	
	public static class ResMsg {
		/** 失败 */
		public static final String FAILED = "系统异常";
		/** 成功*/
		public static final String SUCCESS = "查询成功";
		/** 设置成功*/
		public static final String SET_SUCCESS = "设置成功";

		
	}
	
	public static class ContentType {
		/** 变量短信 **/
		public static final String SEND_SMS = "SEND_SMS";
		/** 全量类短信 **/
		public static final String SEND_FULL_TEXT_SMS = "SEND_FULL_TEXT_SMS";
	}
	
	public static class Common {
		/** 有效 */
		public static final String ACTIVE = "1";
		/** 失效  */
		public static final String INACTIVE = "0";
		/**  默认 */
		public static final String DEFAULT = "-1";
	}
	
	/**
	 * 黑名单状态
	 * @description
	 * @author wangshiyu 2018年8月06日
	 * @Modifier
	 */
	public static class BlacklistStatus{
		
		/** 作废*/
		public static final String DELETE = "0";
		/** 新增*/
		public static final String ADD = "1";
		
	}
	
	/**
	 * 黑名单类型
	 * @description
	 * @author wangshiyu 2018年7月16日
	 * @Modifier
	 */
	public static class BlacklistType{
		/** 手工添加*/
		public static final String MANUAL = "0";
		/** 系统添加*/
		public static final String SYSTEM = "1";
	}
	
	/**
	 * 签名状态
	 * @description
	 * @author wangshiyu 2018年8月09日
	 * @Modifier
	 */
	public static class SignStatus{
		
		/** 待备案审核*/
		public static final String AUDIT_PENDING = "-1";
		
		/** 无效*/
		public static final String  INACTIVE= "0";
		
		/** 审核通过*/
		public static final String AUDIT_PASS = "1";
		
		/** 禁用*/
		public static final String DISABLE = "2";
		
		/**
		 * 签名状态map
		 */
		public static Map<String, String > mapStatus = new HashMap<String, String>();
		
		static{
			mapStatus.put("-1","待备案审核");
			mapStatus.put("0","无效");
			mapStatus.put("1","审核通过");
			mapStatus.put("2","禁用");

		}
	}
	
	/**
	 * 模板状态
	 * @description
	 * @author wangshiyu 2018年8月09日
	 * @Modifier
	 */
	public static class TemplateStatus{
		
		/** 待备案审核*/
		public static final String AUDIT_PENDING = "-1";
		
		/** 无效*/
		public static final String INACTIVE= "0";
		
		/** 审核中*/
		public static final String AUDIT_ING = "1";
		
		/** 审核通过*/
		public static final String AUDIT_PASS = "2";
		
		/** 审批失败*/
		public static final String AUDIT_FAIL = "3";
		
		/**
		 * 模板状态map
		 */
		public static Map<String, String > mapStatus = new HashMap<String, String>();
		
		static{
			mapStatus.put("-1","待审批");
			mapStatus.put("0","无效");
			mapStatus.put("1","审批中");
			mapStatus.put("2","审批通过");
			mapStatus.put("3","审批失败");

		}
	}
}
